#pragma once 
//============================================================================
// Copyright (C) 2010 Brett R. Jones
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================
#define DTW_DATABASE_VERSION 0x1000001  // database version to make ugrades easier

class DtwDatabase : public DbBase
{
public:
	//=== vars ===//
	int			m_iMyVar;			// some variable

	//=== constructor ===//
	DtwDatabase();
	//=== destructor ===//
	~DtwDatabase();

	//! startup
	virtual RCODE	DbStartup( const char * pDbFileName );

	//! shutdown
	virtual RCODE	DbShutdown( void );

	//=== properties ===//
	//! create initial tables in the database ( derived classes should override )
	virtual RCODE	DbCreateTables( void );


	//=== methods ===//
	//! get database version.. return 0 if failed
	virtual S32		GetDatabaseVersion( void );
};
